1bashThis demonstrates creating nested directories using brace expansion and the --parents option in a single command.mkdir --parents {foo,bar}/bazexternal toolsmkdirdirectory creationwith --parents and brace expansion
2bashThis demonstrates how to create a new directory in the current working directory.mkdir fooexternal toolsmkdirdirectory creation
3bashThis demonstrates directory creation in Bash, including the use of the -p flag to create intermediate directories as needed.mkdir myNewDir # The `-p` flag causes new intermediate directories to be created as necessary. mkdir -p myNewDir/with/intermediate/directories # if the intermediate directories didn't already exist, running the above # command without the `-p` flag would return an errorexternal toolsmkdirdirectory creation